package cn.ai.shoes.client.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@TableName("cf_upload_log")
@Schema(name = "comfyui上传日志", description = "comfyui上传日志")
public class ComfyuiUploadLog {
    @Schema(description = "主键")
    @TableId(type = IdType.AUTO)
    private Long id;
    @Schema(description = "url地址")
    private String url;
    @Schema(description = "是否在服务器上")
    private Boolean inUrl;
    @Schema(description = "类型")
    private String type;
    @Schema(description = "子文件夹")
    private String subfolder;
    @Schema(description = "文件名")
    private String name;
    @Schema(description = "是否执行成功(1 = 成功，2 = 失败)")
    private Boolean isSuccess;
    @Schema(description = "失败时的错误信息")
    private String error;
    @Schema(description = "更新时间")
    private String updateTime;
    @Schema(description = "创建时间")
    private String createTime;
    @Schema(description = "备注")
    private String remark;
    @Schema(description = "逻辑删除")
    @TableLogic
    private Integer deleted;

}
